﻿using System.Runtime.Serialization;
using VNet.VisiSuite.Service.Contact.Enum;
using VNet.VisiSuite.Service.Contact.Message.Base;

namespace VNet.VisiSuite.Service.Contact.Message.Security
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/SignInResponse")]
    public class SignInResponse : ServiceBaseResponse
    {
        [DataMember(IsRequired = true)]
        public int UserLoginId { get; set; }

        [DataMember(IsRequired = true)]
        public string Token { get; set; }

        [DataMember(IsRequired = true)]
        public string IPAddress { get; set; }

        [DataMember(IsRequired = true)]
        public string FullName { get; set; }

        [DataMember(IsRequired = true)]
        public UserPermission Permission { get; set; }

        [DataMember(IsRequired = true)]
        public byte[] LogoImage { get; set; }
    }
}